<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j">
    
    <c:set var="ctx" value="${facesContext.externalContext.requestContextPath}"/>
    
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="${ctx}/css/common.css" rel="stylesheet" type="text/css" />
        <link href="${ctx}/css/publicLayout.css" rel="stylesheet" type="text/css" />
        <title><ui:insert name="title">Title</ui:insert></title>
    </head>
    
    <body>
        <f:view>
            <f:loadBundle basename="common.messages" var="msgs"/>
            <f:loadBundle basename="common.pages" var="pg"/>
            <h:form id="mainform">
                <div id="status">
                    <a4j:status id="commonstatus" startText="In Progress...." stopText="" />
                </div>
                <div id="top">
                    <ui:insert name="top">Top</ui:insert>
                </div>
                
                <div id="content" class="center_content">
                    <ui:insert name="content">Content</ui:insert>
                </div>
                
                <div id="bottom">
                    <ui:insert name="bottom">Bottom</ui:insert>
                </div>
            </h:form>
        </f:view>
    </body>
    
</html>
